package com.psp.park.service.impl;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Service;

import com.psp.park.controller.res.bean.RMsgListBean;
import com.psp.park.controller.res.bean.ROrderMsgListBean;
import com.psp.park.controller.res.bean.RSysMsgListBean;
import com.psp.park.service.MsgService;

@Service
public class MsgServiceImpl implements MsgService {
	@Override
	public PageResult<RMsgListBean> getAll(int page, int pageSize, String uid) {
		PageResult<RMsgListBean> result = new PageResult<>();

		List<RMsgListBean> list = new ArrayList<>();

		result.setCount(40);
		result.setData(list);

		return result;
	}

	@Override
	public PageResult<ROrderMsgListBean> getOrderMsgs(int page, int pageSize, String uid) {
		PageResult<ROrderMsgListBean> result = new PageResult<>();
		List<ROrderMsgListBean> list = new ArrayList<>();

		result.setCount(40);
		result.setData(list);
		return result;
	}

	@Override
	public PageResult<RSysMsgListBean> getSysMsgs(int page, int pageSize, String uid) {
		PageResult<RSysMsgListBean> result = new PageResult<>();
		List<RSysMsgListBean> list = new ArrayList<>();

		result.setCount(40);
		result.setData(list);
		return result;
	}
}
